<template>
    <div>小明</div>
</template>
<script>
export default {
    props: {
        form: {
            typeof: String,
            default: '小军',
        },
    },
    data() {
        return {
            // dialogVisible: false,
        }
    },
    beforeCreate() {
        console.log('beforeCreate111222执行了')
    },
    created() {
        console.log('created111333执行了')
    },
    beforeMount() {
        console.log('beforeMount11222执行了')
    },
    mounted() {
        console.log('mounted111222执行了')
    },
    beforeUpdate() {
        console.log('beforeUpdate111222执行了')
    },
    updated() {
        console.log('updated111222执行了')
    },
    beforeDestroy() {
        console.log('beforeDestroy222执行了')
    },
    destroyed() {
        console.log('destroyed222执行了')
    },
    methods: {

        handleClose(done) {
            this.$confirm('确认关闭？')
            .then(_ => {
                done()
            })
            .catch(_ => {})
        },
    },
}
</script>